<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{% block title %}{% endblock %}</title>
<link href="https://cdn.bootcss.com/twitter-bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
<style type="text/css">
    h1 {
    color: #004080;
    text-align: center;
    }

    button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 10px;
    cursor: pointer;
    }

    button:hover {
    background-color: #0056b3;
    }
</style>
</head>
<body>
<h1>{{ request.session.user_name }}! 欢迎回来！</h1>

<div style="text-align: center;">
    <button onclick="window.location.href='/issue/'" class="btn">发布</button>
    <button onclick="window.location.href='/list/'" class="btn">商场</button>
    <button onclick="window.location.href='/personal/'" class="btn">个人中心</button>
    <button onclick="window.location.href='/cart/'" class="btn">购物车</button>
    <button onclick="window.location.href='/logout/'" class="btn">登出</button>
</div>

{% block content %}

{% endblock %}

</body>
</html>